/*
 * > /*
>  * INSANE - Interactive Structural Analysis Environment
>  *
>  * Copyright (C) 2003-2004
>  * Universidade Federal de Minas Gerais
>  * Escola de Engenharia
>  * Departamento de Engenharia de Estruturas
>  *
>  * Author's email :     insane@dees.ufmg.br
>  * Author's Website :   http://www.dees.ufmg.br/insane
>  *
>  * This program is free software; you can redistribute it and/or
>  * modify it under the terms of the GNU General Public License
>  * as published by the Free Software Foundation; either version 2
>  * of the License, or any later version.
>  *
>  * This program is distributed in the hope that it will be useful,
>  * but WITHOUT ANY WARRANTY; without even the implied warranty of
>  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  * GNU General Public License for more details.
>  *
>  * You should have received a copy of the GNU General Public License
>  * along with this program; if not, write to the Free Software
>  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-
> 1307, USA.
 *
 */

package br.ufmg.dees.insane.ui.rich.postp.postp_view;

import java.awt.Color;
import java.awt.Font;
import java.io.Serializable;

/**
 * A class representing the state of the model.
 * @author	Penna, Samuel & Pitangueira, Roque
 * @see     xyplot_view.DesktopPostp
 * @see     xyplot_view.DrawingArea
 * @since   april 2005
 */
public class FaceViewState implements Serializable {

 	/**
	 * Comment for <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 1L;
	
	private Color 	fillColor 		= new Color(150,0,0);
	private String fillType = "NONE";
	private float intensity = 0.5f;
	
	private Color 	fillStateColor 		= Color.LIGHT_GRAY;
	private String fillStateType = "NONE";
	private float intensityState = 0.5f;
	
	private Color 	labelColor 		= Color.GREEN;
	private int 	textSize 	= 10;
	private String 	textFont 	= "Arial";
	private byte 	textStyle 	= Font.PLAIN;
	private boolean isLabelOn 		= false;
	
	private double  labelXCenter 	= 2.0;
	private double  labelYCenter 	= 2.0;
	private double  labelTextAngle 	= Math.PI/4;
	
	/**
     * The class constructor 
     */
    public FaceViewState() {
    }

	/**
	 * The method return the fillColor.
	 * @return Returns The fillColor.
	 */
	public Color getFillColor() {
		return fillColor;
	}

	/**
	 * The method set the field fillColor from the parameter fillColor.
	 * @param fillColor The fillColor to set.
	 */
	public void setFillColor(Color fillColor) {
		this.fillColor = fillColor;
	}

	/**
	 * The method return the isLabelOn.
	 * @return Returns The isLabelOn.
	 */
	public boolean isLabelOn() {
		return isLabelOn;
	}

	/**
	 * The method set the field isLabelOn from the parameter isLabelOn.
	 * @param isLabelOn The isLabelOn to set.
	 */
	public void setLabelOn(boolean isLabelOn) {
		this.isLabelOn = isLabelOn;
	}

	/**
	 * The method return the labelColor.
	 * @return Returns The labelColor.
	 */
	public Color getLabelColor() {
		return labelColor;
	}

	/**
	 * The method set the field labelColor from the parameter labelColor.
	 * @param labelColor The labelColor to set.
	 */
	public void setLabelColor(Color labelColor) {
		this.labelColor = labelColor;
	}

	/**
	 * The method return the labelTextAngle.
	 * @return Returns The labelTextAngle.
	 */
	public double getLabelTextAngle() {
		return labelTextAngle;
	}

	/**
	 * The method set the field labelTextAngle from the parameter labelTextAngle.
	 * @param labelTextAngle The labelTextAngle to set.
	 */
	public void setLabelTextAngle(double labelTextAngle) {
		this.labelTextAngle = labelTextAngle;
	}

	/**
	 * The method return the labelXCenter.
	 * @return Returns The labelXCenter.
	 */
	public double getLabelXCenter() {
		return labelXCenter;
	}

	/**
	 * The method set the field labelXCenter from the parameter labelXCenter.
	 * @param labelXCenter The labelXCenter to set.
	 */
	public void setLabelXCenter(double labelXCenter) {
		this.labelXCenter = labelXCenter;
	}

	/**
	 * The method return the labelYCenter.
	 * @return Returns The labelYCenter.
	 */
	public double getLabelYCenter() {
		return labelYCenter;
	}

	/**
	 * The method set the field labelYCenter from the parameter labelYCenter.
	 * @param labelYCenter The labelYCenter to set.
	 */
	public void setLabelYCenter(double labelYCenter) {
		this.labelYCenter = labelYCenter;
	}

	/**
	 * The method return the textFont.
	 * @return Returns The textFont.
	 */
	public String getTextFont() {
		return textFont;
	}

	/**
	 * The method set the field textFont from the parameter textFont.
	 * @param textFont The textFont to set.
	 */
	public void setTextFont(String textFont) {
		this.textFont = textFont;
	}

	/**
	 * The method return the textSize.
	 * @return Returns The textSize.
	 */
	public int getTextSize() {
		return textSize;
	}

	/**
	 * The method set the field textSize from the parameter textSize.
	 * @param textSize The textSize to set.
	 */
	public void setTextSize(int textSize) {
		this.textSize = textSize;
	}

	/**
	 * The method return the textStyle.
	 * @return Returns The textStyle.
	 */
	public byte getTextStyle() {
		return textStyle;
	}

	/**
	 * The method set the field textStyle from the parameter textStyle.
	 * @param textStyle The textStyle to set.
	 */
	public void setTextStyle(byte textStyle) {
		this.textStyle = textStyle;
	}

	/**
	 * The method return the fillType.
	 * @return Returns The fillType.
	 */
	public String getFillType() {
		return fillType;
	}

	/**
	 * The method set the field fillType from the parameter fillType.
	 * @param fillType The fillType to set.
	 */
	public void setFillType(String fillType) {
		this.fillType = fillType;
	}

	public Color getFillStateColor() {
		return fillStateColor;
	}

	public void setFillStateColor(Color fillStateColor) {
		this.fillStateColor = fillStateColor;
	}

	public String getFillStateType() {
		return fillStateType;
	}

	public void setFillStateType(String fillStateType) {
		this.fillStateType = fillStateType;
	}

	public float getIntensity() {
		return intensity;
	}

	public void setIntensity(float intensity) {
		this.intensity = intensity;
	}

	public float getIntensityState() {
		return intensityState;
	}

	public void setIntensityState(float intensityState) {
		this.intensityState = intensityState;
	}

//***********************************************************************    
}